package com.wobito.pojo.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 区域表
 * </p>
 *
 * @author lambyang
 * @since 2024-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_area")
@AllArgsConstructor
@NoArgsConstructor
public class Area implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 区域名称
     */
    private String name;

    private String address;

    private Integer isDeleted;

    private Date createTime;

    private Date updateTime;

    private Date deletedTime;

    public Area(Long id, Integer isDeleted) {
        this.id = id;
        this.isDeleted = isDeleted;
    }

    public Area(Long id, Integer isDeleted, Date deletedTime) {
        this.id = id;
        this.isDeleted = isDeleted;
        this.deletedTime = deletedTime;
    }
}
